home *** CD-ROM | disk | FTP | other *** search
/ All for Cell Phones: Samsung (Alt 2) / Samsung 2005.iso / Collections / Java_nokia_to_C100 / com / nokia / mid / sound / Sound.class (.txt) next >
Encoding:
Java Class File  |  2003-10-02  |  1.5 KB  |  51 lines

  1. package com.nokia.mid.sound;
  2.  
  3. public class Sound {
  4.    public Sound(byte[] data, int type) {
  5.    }
  6.  
  7.    public Sound(int freq, long duration) {
  8.    }
  9.  
  10.    public void init(int freq, long duration) {
  11.    }
  12.  
  13.    public void init(byte[] data, int type) {
  14.    }
  15.  
  16.    public int getState() {
  17.       return 0;
  18.    }
  19.  
  20.    public void play(int loop) {
  21.    }
  22.  
  23.    public void stop() {
  24.    }
  25.  
  26.    public void resume() {
  27.    }
  28.  
  29.    public void release() {
  30.    }
  31.  
  32.    public void setGain(int gain) {
  33.    }
  34.  
  35.    public int getGain() {
  36.       return 128;
  37.    }
  38.  
  39.    public static int getConcurrentSoundCount(int type) {
  40.       return 1;
  41.    }
  42.  
  43.    public static int[] getSupportedFormats() {
  44.       int[] pepito = new int[]{1};
  45.       return pepito;
  46.    }
  47.  
  48.    public void setSoundListener(SoundListener listener) {
  49.    }
  50. }
  51.